﻿@{
    ViewBag.Title = "SelectEnterprise";
    Layout = "~/Views/Shared/Layout.cshtml";
    <link rel="stylesheet" type="text/css" href="~/content/plugins/select2/select2_metro.css" />
    <script>
        jQuery(document).ready(function(){
        TableAdvanced.init();
        });
    </script>
    <script type="text/javascript" src="/Scripts/PrincipalForm/PrincipalForm.js"></script>
}




			<!-- BEGIN PAGE CONTAINER-->        
			<div class="container-fluid">
				<!-- BEGIN PAGE HEADER-->
				<div class="row-fluid">
					<div class="span12">
						<!-- BEGIN PAGE TITLE & BREADCRUMB-->
						<h3 class="page-title">
							Empresa
						</h3>

					</div>
				</div>
				<!-- END PAGE HEADER-->
				<!-- BEGIN PAGE CONTENT-->
				<div class="row-fluid">
					<div class="span12">
						<!-- BEGIN EXAMPLE TABLE PORTLET-->
						<div class="portlet box green">
							<div class="portlet-title">
								<div class="caption"><i class="icon-globe"></i>Búsqueda de Empresas</div>

							</div>
							<div class="portlet-body">
                               
								
                                	<div class="actions maintenance-search ">
                                        <button type="submit" class="btn green"><i class="icon-plus"></i> <a href="/enterprise/addenterprise">Agregar</a></button>
									    <div class="btn-group pull-right">
										<a class="btn green" href="#" data-toggle="dropdown">
										Columnas
										<i class="icon-angle-down"></i>
										</a>
										<div id="sample_2_column_toggler" class="dropdown-menu hold-on-click dropdown-checkboxes pull-right">

                                            <label><input type="checkbox" checked data-column="2">Campo 2</label>
											<label><input type="checkbox" checked data-column="3">Campo 3</label>
											<label><input type="checkbox" checked data-column="4">Campo 4</label>
											
										</div>
									</div>
								</div>
                                
                                <table class="table table-striped table-bordered table-hover table-full-width" id="sample_2">
									<thead>
										<tr>
											<th>Razon Social</th>
											<th>Campo 1</th>
											<th class="hidden-480">Campo 2</th>
											<th class="hidden-480">Campo 3</th>
											<th class="hidden-480">Campo 4</th>
                                            <th>Seleccionar</th>
										</tr>
									</thead>
									<tbody>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 185</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480" id="idEnterprise">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive" id="btnSeleccionar1">Seleccionar</a></td>               
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 196</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 169</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <<td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 1136</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 115</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 114</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 113</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 9</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 67</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 2</a></td>
											<td>
												Grupo 1
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
											<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 7</a></td>
											<td>
												Grupo 2
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 6</a></td>
											<td>
												Grupo 6
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 11</a></td>
											<td>
												Grupo 5
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo 3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
										<tr>
											<td> <a href="/enterprise/viewenterprise">Nombre 10</a></td>
											<td>
												Grupo 2
											</td>
                                            <td class="hidden-480">Campo2</td>
											<td class="hidden-480">Campo3</td>
											<td class="hidden-480">Campo4</td>
                                            <td><a data-toggle="modal" href="#responsive">Seleccionar</a></td>
										</tr>
									
									</tbody>
								</table>
							</div>
						</div>
						<!-- END EXAMPLE TABLE PORTLET-->

					</div>
				</div>
				<!-- END PAGE CONTENT-->
			</div>
			<!-- END PAGE CONTAINER-->


    <!---------------------->
    <!-- POP UP MENSAJE -->
    <!---------------------->
    <div id="responsive" class="modal hide fade" tabindex="-1" data-width="680">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
			<h3>Detalles de la empresa</h3>
		</div>
        <div class="modal-body">
			<div class="scroller" style="height:300px" data-always-visible="1" data-rail-visible1="1">
                <div class="span6 responsive" data-tablet="span12 fix-offset" data-desktop="span6">
                    <!-- BEGIN CONTROL GROUP-->
                    <div class="form-horizontal control-group row-fluid">
                        <label id="lblMessage"></label>
                       La empresa "Aca se coloca la empresa" cuenta/no cuenta con analisis vigente,
                       proceda a llenar el formulario de analisis/ proceda a llenar los formularios de otorgamiento
					</div>
                    <!-- END CONTROL GROUP-->
	               
                </div>
			</div>
		</div>
         <div class="form-actions">
        <button class=" gurdar btn green"><i class="icon-ok"></i><a href="/enterprise/viewenterprise">Ir a Analisis</a></button>
        <button class=" gurdar btn green"><i class="icon-ok"></i><a href="/enterprise/viewenterprise">Ir a Otorgamiento</a></button>
	    <button class="btn" data-dismiss="modal" type="button"> Cancelar </button>
        </div>
	</div> 
